home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Finder Undo
/
Read Me
< prev
Wrap
Text File
|
1996-06-22
|
1KB
|
36 lines
Finder Undo
This hack isn't exactly in a finished state... but it does some of what it
advertises. Install it, and automagically the "Undo" menu in the Finder
activates after certain actions.
Ok, not very many actions right now. But some. At this point, you can
undo:
* clean up desktop
* closing a window
The cool thing is, it's all based on AppleEvent handling and can more
or less easily be scaled to do more. (I've got an "undo open" commented
out that doesn't work yet, but could...) And if done properly, it
would only need to patch one (yes, read it, ONE!) trap. (Too bad it's
not done properly. ;)
The trick is to tell the Finder to start recording itself, and then
patch AESend and watch what goes by. F.U. keeps track of that stuff
and allows you to undo certain actions.
..anyway. Install it and watch it go. It's very much an alpha product,
so don't run it for long unless you're hacking on it. :> :> :>
Source is included.
-drew
Andrew Thaler
athaler@umich.edu